import 'package:flutter/material.dart';

// 字体大小
class AppFontSize {
  static const double tiny = 12.0;
  static const double small = 14.0;
  static const double normal = 16.0;
  static const double large = 18.0;
  static const double xlarge = 20.0;
}

// 颜色
class AppColors {
  static const Color primary = Color(0xFF1E88E5);
  static const Color secondary = Color(0xFF42A5F5);
  static const Color textPrimary = Color(0xFF333333);
  static const Color textSecondary = Color(0xFF666666);
  static const Color background = Color(0xFFF5F5F5);
  static const Color themeColor = Color(0xFFFF9400);
}

// 间距
class AppSpacing {
  static const double xs = 4.0;
  static const double small = 8.0;
  static const double normal = 16.0;
  static const double large = 24.0;
  static const double xlarge = 32.0;
}

// 文本样式
class AppTextStyles {
  static const TextStyle appTitle = TextStyle(
    fontSize: 18.0,
    fontWeight: FontWeight.bold,
    color: AppColors.textPrimary,
  );

  static const TextStyle appContent = TextStyle(
    fontSize: 16.0,
    fontWeight: FontWeight.w400,
    color: AppColors.textSecondary,
  );

  static const TextStyle body = TextStyle(
    fontSize: AppFontSize.normal,
    color: AppColors.textPrimary,
  );

  static const TextStyle caption = TextStyle(
    fontSize: AppFontSize.small,
    color: AppColors.textSecondary,
  );
}